package com.sagittariusjin.android.serialportbecoroutinelib.utils

class CRCStorytelling {

companion object{

        private const val TAG = "CRCStorytelling"
        // JNI
        init {
            System.loadLibrary("serial-port-lib")

    }

}
    public external fun crc16(len: Int, data: ByteArray): ByteArray

    public external fun crc16ModBus(len: Int, data: ByteArray): ByteArray

}